package com.example.leetdemo.process;

public class Solution42 {

    public static int trap(int[] height) {
        int dp[] = new int[height.length];
        dp[0] = 0;
        for (int i = 1 ; i < height.length; i++) {
            if (height[i] <= height[i -1]) {
                dp[i] = dp[i - 1];
            } else {
                for (int j = i - 1; j >= 0; j++) {

                }
            }
        }
        return 0;
    }

    public static void main(String[] args) {
    }
}
